package chengji;

public class Test {
	public static void main(String[] args) {

		Student[] students = new Student[5];
		students[0] = new Student();
		students[1] = new Student();
		students[2] = new Student();
		students[3] = new Student();
		students[4] = new Student();

		students[0].name = "zs";
		students[0].score = 95;
		students[1].name = "wa";
		students[1].score = 41;
		students[2].name = "ry";
		students[2].score = 76;
		students[3].name = "qw";
		students[3].score = 51;
		students[4].name = "yu";
		students[4].score = 100;

		ScoreManage sm = new ScoreManage();
		sm.printStudents(students);
		System.out.println("--------------------------");
		sm.sortStudent(students);
		sm.printStudents(students);
	}
}
